package com.dc.management.util;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Util {
	
	
	public static String getStrTime(Date date , String format){
		
		DateFormat df = new SimpleDateFormat(format);
		
		return df.format(date);
		
	}

}
